<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.11.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>cppMISC: src/misc.cpp 文件参考</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<script type="text/javascript" src="../../clipboard.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../cookie.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript" src="../../darkmode_toggle.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">cppMISC<span id="projectnumber">&#160;v1.1</span>
   </div>
   <div id="projectbrief">cppMisc 文档系统</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.11.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',true,false,'search.php','搜索',false);
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="../../dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li>  </ul>
</div>
</div><!-- top -->
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#func-members">函数</a> &#124;
<a href="#var-members">变量</a>  </div>
  <div class="headertitle"><div class="title">misc.cpp 文件参考</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;sys/stat.h&gt;</code><br />
<code>#include &lt;unistd.h&gt;</code><br />
<code>#include &lt;dirent.h&gt;</code><br />
<code>#include &lt;malloc.h&gt;</code><br />
<code>#include &lt;iostream&gt;</code><br />
<code>#include &lt;string&gt;</code><br />
<code>#include &lt;regex&gt;</code><br />
<code>#include &lt;sstream&gt;</code><br />
<code>#include &lt;chrono&gt;</code><br />
<code>#include &lt;thread&gt;</code><br />
<code>#include &quot;<a class="el" href="../../d0/d0e/misc_8hpp_source.html">misc.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="../../d3/df7/ary__str_8hpp_source.html">ary_str.hpp</a>&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
misc.cpp 的引用(Include)关系图:</div>
<div class="dyncontent">
<div class="center"><img src="../../de/d4b/misc_8cpp__incl.png" border="0" usemap="#asrc_2misc_8cpp" alt=""/></div>
<map name="asrc_2misc_8cpp" id="asrc_2misc_8cpp">
<area shape="rect" title=" " alt="" coords="430,5,526,32"/>
<area shape="rect" title=" " alt="" coords="293,229,373,256"/>
<area shape="poly" title=" " alt="" coords="450,35,417,54,387,82,367,114,353,150,339,214,334,213,348,148,363,112,383,78,414,50,447,30"/>
<area shape="rect" title=" " alt="" coords="73,80,140,107"/>
<area shape="poly" title=" " alt="" coords="430,30,310,51,156,82,155,77,309,46,429,25"/>
<area shape="rect" title=" " alt="" coords="164,80,228,107"/>
<area shape="poly" title=" " alt="" coords="430,35,244,82,242,77,429,30"/>
<area shape="rect" title=" " alt="" coords="252,80,323,107"/>
<area shape="poly" title=" " alt="" coords="446,35,336,77,334,72,444,30"/>
<area shape="rect" title=" " alt="" coords="5,304,77,331"/>
<area shape="poly" title=" " alt="" coords="430,22,337,25,227,33,174,41,126,51,88,65,63,82,46,105,35,131,28,159,26,187,28,243,36,288,31,289,23,244,20,187,23,158,30,129,42,102,59,78,86,60,125,46,173,35,226,28,337,19,429,17"/>
<area shape="rect" title=" " alt="" coords="790,229,844,256"/>
<area shape="poly" title=" " alt="" coords="527,20,760,40,871,57,910,67,931,78,942,97,943,117,937,138,924,157,889,194,852,223,848,218,886,190,920,154,932,135,938,117,937,99,927,82,908,72,870,62,759,46,527,26"/>
<area shape="rect" title=" " alt="" coords="496,80,549,107"/>
<area shape="poly" title=" " alt="" coords="488,31,509,65,505,68,484,34"/>
<area shape="rect" title=" " alt="" coords="574,80,642,107"/>
<area shape="poly" title=" " alt="" coords="502,30,573,70,570,74,500,35"/>
<area shape="rect" title=" " alt="" coords="666,80,726,107"/>
<area shape="poly" title=" " alt="" coords="517,30,651,75,650,80,515,35"/>
<area shape="rect" title=" " alt="" coords="750,80,807,107"/>
<area shape="poly" title=" " alt="" coords="528,28,735,76,734,82,526,33"/>
<area shape="rect" href="../../d0/d0e/misc_8hpp.html" title=" " alt="" coords="397,80,472,107"/>
<area shape="poly" title=" " alt="" coords="473,34,452,68,448,65,468,31"/>
<area shape="rect" href="../../d3/df7/ary__str_8hpp.html" title=" " alt="" coords="831,80,918,107"/>
<area shape="poly" title=" " alt="" coords="528,25,816,77,815,82,527,31"/>
<area shape="poly" title=" " alt="" coords="437,107,436,138,429,179,414,222,402,241,387,258,351,284,317,299,285,305,251,306,180,301,139,301,92,306,92,301,138,296,180,296,251,301,284,300,316,294,349,279,383,254,398,238,409,219,424,178,431,137,432,107"/>
<area shape="poly" title=" " alt="" coords="473,101,484,104,549,115,601,120,652,129,713,152,760,183,798,216,794,220,757,187,710,157,650,134,600,125,548,120,483,109,471,107"/>
<area shape="rect" title=" " alt="" coords="532,379,609,405"/>
<area shape="poly" title=" " alt="" coords="473,102,517,119,566,144,612,180,630,203,644,228,652,273,650,303,642,332,627,354,607,372,604,368,623,351,637,330,645,302,646,273,638,230,625,206,608,184,563,149,515,124,471,107"/>
<area shape="rect" title=" " alt="" coords="782,155,839,181"/>
<area shape="poly" title=" " alt="" coords="473,101,484,104,623,128,763,152,768,153,766,158,762,157,623,133,483,109,471,107"/>
<area shape="rect" href="../../d8/d68/fs_8hpp.html" title=" " alt="" coords="499,155,556,181"/>
<area shape="poly" title=" " alt="" coords="452,105,501,143,498,147,449,109"/>
<area shape="poly" title=" " alt="" coords="499,183,382,226,380,221,498,178"/>
<area shape="poly" title=" " alt="" coords="557,174,776,228,775,234,556,179"/>
<area shape="poly" title=" " alt="" coords="558,178,592,197,607,211,619,228,631,255,633,279,629,303,619,332,610,352,597,369,592,366,605,349,615,330,624,302,628,279,625,257,615,231,603,215,588,202,555,182"/>
<area shape="rect" title=" " alt="" coords="541,229,605,256"/>
<area shape="poly" title=" " alt="" coords="538,180,559,215,555,217,533,183"/>
<area shape="rect" href="../../de/dfd/tree_8hpp.html" title=" " alt="" coords="448,229,516,256"/>
<area shape="poly" title=" " alt="" coords="522,183,501,217,496,215,518,180"/>
<area shape="poly" title=" " alt="" coords="449,255,429,259,336,273,262,282,187,290,92,306,91,301,186,285,261,276,335,268,429,253,447,250"/>
<area shape="poly" title=" " alt="" coords="490,255,505,289,526,329,552,365,548,368,521,332,500,292,485,257"/>
<area shape="rect" title=" " alt="" coords="536,304,604,331"/>
<area shape="poly" title=" " alt="" coords="499,254,545,292,542,296,496,259"/>
<area shape="rect" title=" " alt="" coords="224,304,292,331"/>
<area shape="poly" title=" " alt="" coords="449,258,308,303,306,298,447,253"/>
<area shape="rect" title=" " alt="" coords="316,304,355,331"/>
<area shape="poly" title=" " alt="" coords="458,259,370,302,368,297,456,254"/>
<area shape="rect" title=" " alt="" coords="378,304,461,331"/>
<area shape="poly" title=" " alt="" coords="473,258,442,294,438,290,469,255"/>
<area shape="rect" href="../../d6/de9/typetraits_8hpp.html" title=" " alt="" coords="100,304,200,331"/>
<area shape="poly" title=" " alt="" coords="448,254,430,259,216,305,215,300,428,253,447,249"/>
<area shape="poly" title=" " alt="" coords="201,326,212,328,517,380,516,385,211,333,200,331"/>
<area shape="poly" title=" " alt="" coords="875,107,867,142,854,182,836,217,831,215,849,180,862,140,870,106"/>
<area shape="poly" title=" " alt="" coords="865,109,833,145,830,141,861,105"/>
</map>
</div>
</div>
<p><a href="../../d7/d5f/misc_8cpp_source.html">浏览该文件的源代码.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
函数</h2></td></tr>
<tr class="memitem:ac7d1e0a91bfa612dce72b060d9e15119" id="r_ac7d1e0a91bfa612dce72b060d9e15119"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d0/d0e/misc_8hpp.html#afc91d3cceff94258bb6566969046caa5">hash_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ac7d1e0a91bfa612dce72b060d9e15119">hash_</a> (char const *str)</td></tr>
<tr class="separator:ac7d1e0a91bfa612dce72b060d9e15119"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a66cc7710f40747bfea171b40a8018b8e" id="r_a66cc7710f40747bfea171b40a8018b8e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d0/d0e/misc_8hpp.html#afc91d3cceff94258bb6566969046caa5">hash_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a66cc7710f40747bfea171b40a8018b8e">hash_</a> (char const *str, size_t len)</td></tr>
<tr class="separator:a66cc7710f40747bfea171b40a8018b8e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afa3aaca4de7257114265128ae822ffea" id="r_afa3aaca4de7257114265128ae822ffea"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#afa3aaca4de7257114265128ae822ffea">log_base</a> (bool enable, std::ostream &amp;os, const std::string &amp;str)</td></tr>
<tr class="memdesc:afa3aaca4de7257114265128ae822ffea"><td class="mdescLeft">&#160;</td><td class="mdescRight">输出信息到指定的流  <br /></td></tr>
<tr class="separator:afa3aaca4de7257114265128ae822ffea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a77ed2ba91e96195fbef6259d46111f23" id="r_a77ed2ba91e96195fbef6259d46111f23"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a77ed2ba91e96195fbef6259d46111f23">logln_base</a> (bool enable, std::ostream &amp;os, const std::string &amp;str)</td></tr>
<tr class="memdesc:a77ed2ba91e96195fbef6259d46111f23"><td class="mdescLeft">&#160;</td><td class="mdescRight">按照行输出信息，也就是完成输出消息后再自动添加一个换行  <br /></td></tr>
<tr class="separator:a77ed2ba91e96195fbef6259d46111f23"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a94febd15cfa38c4e0f3e8b90aaec5dc3" id="r_a94febd15cfa38c4e0f3e8b90aaec5dc3"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a94febd15cfa38c4e0f3e8b90aaec5dc3">nowStr</a> ()</td></tr>
<tr class="memdesc:a94febd15cfa38c4e0f3e8b90aaec5dc3"><td class="mdescLeft">&#160;</td><td class="mdescRight">当前时间的字符串  <br /></td></tr>
<tr class="separator:a94febd15cfa38c4e0f3e8b90aaec5dc3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a60fd19bc6b440bebc49e3a72cec3de0c" id="r_a60fd19bc6b440bebc49e3a72cec3de0c"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a60fd19bc6b440bebc49e3a72cec3de0c">reverseByte</a> (void *data, size_t len)</td></tr>
<tr class="memdesc:a60fd19bc6b440bebc49e3a72cec3de0c"><td class="mdescLeft">&#160;</td><td class="mdescRight">将数据按照字节方式改变大小端。长度必须是偶数的，否则返回错误  <br /></td></tr>
<tr class="separator:a60fd19bc6b440bebc49e3a72cec3de0c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa55d507cca1bd486b35f16db6e683c1f" id="r_aa55d507cca1bd486b35f16db6e683c1f"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aa55d507cca1bd486b35f16db6e683c1f">isIPv4</a> (const std::string &amp;ipstr)</td></tr>
<tr class="memdesc:aa55d507cca1bd486b35f16db6e683c1f"><td class="mdescLeft">&#160;</td><td class="mdescRight">判断是否是IPv4字符串  <br /></td></tr>
<tr class="separator:aa55d507cca1bd486b35f16db6e683c1f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac79a4e05918d249ac1b0ea6c1c4d20d5" id="r_ac79a4e05918d249ac1b0ea6c1c4d20d5"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ac79a4e05918d249ac1b0ea6c1c4d20d5">isIPv6</a> (const std::string &amp;ipstr)</td></tr>
<tr class="memdesc:ac79a4e05918d249ac1b0ea6c1c4d20d5"><td class="mdescLeft">&#160;</td><td class="mdescRight">判断是否是IPv6字符串  <br /></td></tr>
<tr class="separator:ac79a4e05918d249ac1b0ea6c1c4d20d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a032ca694fce284d2917919e388905a7d" id="r_a032ca694fce284d2917919e388905a7d"><td class="memItemLeft" align="right" valign="top">time_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a032ca694fce284d2917919e388905a7d">parseGMT</a> (const std::string &amp;gmt, int loc)</td></tr>
<tr class="memdesc:a032ca694fce284d2917919e388905a7d"><td class="mdescLeft">&#160;</td><td class="mdescRight">解析GMT时间字符串  <br /></td></tr>
<tr class="separator:a032ca694fce284d2917919e388905a7d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1281e08e5da281269eef64e5790c4116" id="r_a1281e08e5da281269eef64e5790c4116"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a1281e08e5da281269eef64e5790c4116">fileNameFromPath</a> (const std::string &amp;path, std::string &amp;name)</td></tr>
<tr class="memdesc:a1281e08e5da281269eef64e5790c4116"><td class="mdescLeft">&#160;</td><td class="mdescRight">从路径中抽出文件名称。 1 函数会检查本地文件是否存在，如果不存在根据最后路径是否还存在 分隔符號，如果不存在分隔符號则直接给出最后一个名称。如果存在判断为目录 2 如果文件存在，则会检查对象是否是目录  <br /></td></tr>
<tr class="separator:a1281e08e5da281269eef64e5790c4116"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab148021dd478aa69c83029819b268737" id="r_ab148021dd478aa69c83029819b268737"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ab148021dd478aa69c83029819b268737">getFileSize</a> (const std::string &amp;path)</td></tr>
<tr class="memdesc:ab148021dd478aa69c83029819b268737"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取文件大小  <br /></td></tr>
<tr class="separator:ab148021dd478aa69c83029819b268737"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a23cfcaab6b6df224338877527e1f49dc" id="r_a23cfcaab6b6df224338877527e1f49dc"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a23cfcaab6b6df224338877527e1f49dc">split</a> (const std::string &amp;str, char c, std::vector&lt; std::string &gt; &amp;rst)</td></tr>
<tr class="memdesc:a23cfcaab6b6df224338877527e1f49dc"><td class="mdescLeft">&#160;</td><td class="mdescRight">将字符串按照指定的标记分割成多个字符串  <br /></td></tr>
<tr class="separator:a23cfcaab6b6df224338877527e1f49dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="var-members" name="var-members"></a>
变量</h2></td></tr>
<tr class="memitem:ab6905b37bd6eb03720774f729032272e" id="r_ab6905b37bd6eb03720774f729032272e"><td class="memItemLeft" align="right" valign="top">char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ab6905b37bd6eb03720774f729032272e">G_LOG_BUF</a> [1024 *10]</td></tr>
<tr class="separator:ab6905b37bd6eb03720774f729032272e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">函数说明</h2>
<a id="a1281e08e5da281269eef64e5790c4116" name="a1281e08e5da281269eef64e5790c4116"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1281e08e5da281269eef64e5790c4116">&#9670;&#160;</a></span>fileNameFromPath()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool fileNameFromPath </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>path</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>name</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>从路径中抽出文件名称。 1 函数会检查本地文件是否存在，如果不存在根据最后路径是否还存在 分隔符號，如果不存在分隔符號则直接给出最后一个名称。如果存在判断为目录 2 如果文件存在，则会检查对象是否是目录 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">path[</td><td>I ], 路径名 </td></tr>
    <tr><td class="paramname">name[</td><td>O ], 文件名称 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>成功返回true, 否则返回false </dd></dl>

<p class="definition">在文件 <a class="el" href="../../d7/d5f/misc_8cpp_source.html">misc.cpp</a> 第 <a class="el" href="../../d7/d5f/misc_8cpp_source.html#l00526">526</a> 行定义.</p>
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="../../d7/d5f/misc_8cpp_a1281e08e5da281269eef64e5790c4116_cgraph.png" border="0" usemap="#ad7/d5f/misc_8cpp_a1281e08e5da281269eef64e5790c4116_cgraph" alt=""/></div>
<map name="ad7/d5f/misc_8cpp_a1281e08e5da281269eef64e5790c4116_cgraph" id="ad7/d5f/misc_8cpp_a1281e08e5da281269eef64e5790c4116_cgraph">
<area shape="rect" title="从路径中抽出文件名称。 1 函数会检查本地文件是否存在，如果不存在根据最后路径是否还存在 分隔符號，如果不存在分隔符號则直接给出最后一个名称。如果存在判断为目录 2 如果文件存在，则会检查对象是否是目录" alt="" coords="5,5,136,32"/>
<area shape="rect" href="../../d0/d0e/misc_8hpp.html#adc75a513912f0c4d40d5882955b411c1" title="判断是否是目录" alt="" coords="184,5,232,32"/>
<area shape="poly" title=" " alt="" coords="136,16,168,16,168,21,136,21"/>
<area shape="rect" href="../../dc/d2f/classfs.html#a821cb3cdae648caf6a9f92b39c864421" title="判断给定的路径是否是目录" alt="" coords="280,5,347,32"/>
<area shape="poly" title=" " alt="" coords="233,16,264,16,264,21,233,21"/>
</map>
</div>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="../../d7/d5f/misc_8cpp_a1281e08e5da281269eef64e5790c4116_icgraph.png" border="0" usemap="#ad7/d5f/misc_8cpp_a1281e08e5da281269eef64e5790c4116_icgraph" alt=""/></div>
<map name="ad7/d5f/misc_8cpp_a1281e08e5da281269eef64e5790c4116_icgraph" id="ad7/d5f/misc_8cpp_a1281e08e5da281269eef64e5790c4116_icgraph">
<area shape="rect" title="从路径中抽出文件名称。 1 函数会检查本地文件是否存在，如果不存在根据最后路径是否还存在 分隔符號，如果不存在分隔符號则直接给出最后一个名称。如果存在判断为目录 2 如果文件存在，则会检查对象是否是目录" alt="" coords="210,81,340,108"/>
<area shape="rect" href="../../d4/d31/classwheels_1_1curl_ftp.html#a05feb0263f26899dc82d5d37563f527f" title="上传文件到服务器" alt="" coords="5,5,162,32"/>
<area shape="poly" title=" " alt="" coords="230,77,161,46,129,35,131,30,163,42,232,72"/>
<area shape="rect" href="../../d4/d31/classwheels_1_1curl_ftp.html#a13b876b8b1d24c1492e05dbb15983deb" title=" " alt="" coords="5,56,162,83"/>
<area shape="poly" title=" " alt="" coords="194,87,162,82,162,77,195,81"/>
<area shape="rect" href="../../d2/d96/classwheels_1_1rc_ftp.html#a2587dfd75a0fa9e9107eaa7cdb545a63" title="上传文件到服务器" alt="" coords="10,107,157,133"/>
<area shape="poly" title=" " alt="" coords="195,108,157,113,156,108,194,103"/>
<area shape="rect" href="../../d2/d96/classwheels_1_1rc_ftp.html#a1bd65817852bdb098e40e79dc154d724" title=" " alt="" coords="10,157,157,184"/>
<area shape="poly" title=" " alt="" coords="232,117,163,148,131,159,129,154,161,143,230,113"/>
</map>
</div>

</div>
</div>
<a id="ab148021dd478aa69c83029819b268737" name="ab148021dd478aa69c83029819b268737"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab148021dd478aa69c83029819b268737">&#9670;&#160;</a></span>getFileSize()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t getFileSize </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>path</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取文件大小 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">path[</td><td>I ] 文件完整路径 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>成功操作返回文件字节数量，否则返回0 </dd></dl>

<p class="definition">在文件 <a class="el" href="../../d7/d5f/misc_8cpp_source.html">misc.cpp</a> 第 <a class="el" href="../../d7/d5f/misc_8cpp_source.html#l00558">558</a> 行定义.</p>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="../../d7/d5f/misc_8cpp_ab148021dd478aa69c83029819b268737_icgraph.png" border="0" usemap="#ad7/d5f/misc_8cpp_ab148021dd478aa69c83029819b268737_icgraph" alt=""/></div>
<map name="ad7/d5f/misc_8cpp_ab148021dd478aa69c83029819b268737_icgraph" id="ad7/d5f/misc_8cpp_ab148021dd478aa69c83029819b268737_icgraph">
<area shape="rect" title="获取文件大小" alt="" coords="220,5,306,32"/>
<area shape="rect" href="../../df/dbb/classwheels_1_1ini_read.html#a09aa97ad021b44af9fde585bd7700dd6" title=" " alt="" coords="5,5,172,32"/>
<area shape="poly" title=" " alt="" coords="204,21,172,21,172,16,204,16"/>
</map>
</div>

</div>
</div>
<a id="ac7d1e0a91bfa612dce72b060d9e15119" name="ac7d1e0a91bfa612dce72b060d9e15119"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac7d1e0a91bfa612dce72b060d9e15119">&#9670;&#160;</a></span>hash_() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d0/d0e/misc_8hpp.html#afc91d3cceff94258bb6566969046caa5">hash_t</a> hash_ </td>
          <td>(</td>
          <td class="paramtype">char const *</td>          <td class="paramname"><span class="paramname"><em>str</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../d7/d5f/misc_8cpp_source.html">misc.cpp</a> 第 <a class="el" href="../../d7/d5f/misc_8cpp_source.html#l00051">51</a> 行定义.</p>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="../../d7/d5f/misc_8cpp_ac7d1e0a91bfa612dce72b060d9e15119_icgraph.png" border="0" usemap="#ad7/d5f/misc_8cpp_ac7d1e0a91bfa612dce72b060d9e15119_icgraph" alt=""/></div>
<map name="ad7/d5f/misc_8cpp_ac7d1e0a91bfa612dce72b060d9e15119_icgraph" id="ad7/d5f/misc_8cpp_ac7d1e0a91bfa612dce72b060d9e15119_icgraph">
<area shape="rect" title=" " alt="" coords="442,109,498,136"/>
<area shape="rect" href="../../d7/d4f/classwheels_1_1file_client_1_1file_client.html#a7e34d6a3082feb6f9da01ae2cd908168" title="根据URL中的协议内容初始化下载接口。" alt="" coords="229,5,375,48"/>
<area shape="poly" title=" " alt="" coords="443,101,419,81,393,62,370,51,372,46,395,58,423,76,446,97"/>
<area shape="rect" href="../../d7/d4f/classwheels_1_1file_client_1_1file_client.html#af081cb2a769a3aed4e7e2d32ea3da95c" title=" " alt="" coords="210,72,394,115"/>
<area shape="poly" title=" " alt="" coords="426,118,394,112,395,107,427,113"/>
<area shape="rect" href="../../d7/d5f/misc_8cpp.html#a032ca694fce284d2917919e388905a7d" title="解析GMT时间字符串" alt="" coords="261,139,343,165"/>
<area shape="poly" title=" " alt="" coords="427,133,344,147,343,142,426,128"/>
<area shape="rect" href="../../d6/dfe/class_u_r_l.html#a21ebcf8bf1ff7956081d1ec2265befc9" title="将URL对象输出成一个完整URL字符串" alt="" coords="251,189,352,216"/>
<area shape="poly" title=" " alt="" coords="443,149,395,180,354,195,352,190,393,175,440,144"/>
<area shape="rect" href="../../d4/d31/classwheels_1_1curl_ftp.html#a05feb0263f26899dc82d5d37563f527f" title="上传文件到服务器" alt="" coords="5,113,162,140"/>
<area shape="poly" title=" " alt="" coords="236,189,209,180,161,154,130,143,132,138,163,150,211,175,237,184"/>
<area shape="rect" href="../../d4/d31/classwheels_1_1curl_ftp.html#a13b876b8b1d24c1492e05dbb15983deb" title=" " alt="" coords="5,164,162,191"/>
<area shape="poly" title=" " alt="" coords="236,198,162,189,162,184,237,192"/>
<area shape="rect" href="../../d2/d96/classwheels_1_1rc_ftp.html#a2587dfd75a0fa9e9107eaa7cdb545a63" title="上传文件到服务器" alt="" coords="10,215,157,241"/>
<area shape="poly" title=" " alt="" coords="236,213,157,222,157,217,236,208"/>
<area shape="rect" href="../../d2/d96/classwheels_1_1rc_ftp.html#a1bd65817852bdb098e40e79dc154d724" title=" " alt="" coords="10,265,157,292"/>
<area shape="poly" title=" " alt="" coords="250,224,163,256,129,267,127,262,161,251,248,219"/>
</map>
</div>

</div>
</div>
<a id="a66cc7710f40747bfea171b40a8018b8e" name="a66cc7710f40747bfea171b40a8018b8e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a66cc7710f40747bfea171b40a8018b8e">&#9670;&#160;</a></span>hash_() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d0/d0e/misc_8hpp.html#afc91d3cceff94258bb6566969046caa5">hash_t</a> hash_ </td>
          <td>(</td>
          <td class="paramtype">char const *</td>          <td class="paramname"><span class="paramname"><em>str</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t</td>          <td class="paramname"><span class="paramname"><em>len</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../d7/d5f/misc_8cpp_source.html">misc.cpp</a> 第 <a class="el" href="../../d7/d5f/misc_8cpp_source.html#l00064">64</a> 行定义.</p>

</div>
</div>
<a id="aa55d507cca1bd486b35f16db6e683c1f" name="aa55d507cca1bd486b35f16db6e683c1f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa55d507cca1bd486b35f16db6e683c1f">&#9670;&#160;</a></span>isIPv4()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool isIPv4 </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>ipstr</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>判断是否是IPv4字符串 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">ipstr[</td><td>I ], IP地址字符串。 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>是IP地址返回true, 否则返回false </dd></dl>

<p class="definition">在文件 <a class="el" href="../../d7/d5f/misc_8cpp_source.html">misc.cpp</a> 第 <a class="el" href="../../d7/d5f/misc_8cpp_source.html#l00435">435</a> 行定义.</p>

</div>
</div>
<a id="ac79a4e05918d249ac1b0ea6c1c4d20d5" name="ac79a4e05918d249ac1b0ea6c1c4d20d5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac79a4e05918d249ac1b0ea6c1c4d20d5">&#9670;&#160;</a></span>isIPv6()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool isIPv6 </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>ipstr</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>判断是否是IPv6字符串 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">ipstr[</td><td>I ], IP地址字符串 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>是IPv6字符串返回true, 否则返回false </dd></dl>

<p class="definition">在文件 <a class="el" href="../../d7/d5f/misc_8cpp_source.html">misc.cpp</a> 第 <a class="el" href="../../d7/d5f/misc_8cpp_source.html#l00446">446</a> 行定义.</p>

</div>
</div>
<a id="afa3aaca4de7257114265128ae822ffea" name="afa3aaca4de7257114265128ae822ffea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afa3aaca4de7257114265128ae822ffea">&#9670;&#160;</a></span>log_base()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void log_base </td>
          <td>(</td>
          <td class="paramtype">bool</td>          <td class="paramname"><span class="paramname"><em>enable</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::ostream &amp;</td>          <td class="paramname"><span class="paramname"><em>os</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>msg</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>输出信息到指定的流 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">enable,是否输出；true执行输出，false放弃输出</td><td></td></tr>
    <tr><td class="paramname">os,要输出的流</td><td></td></tr>
    <tr><td class="paramname">msg,要输出的信息</td><td></td></tr>
  </table>
  </dd>
</dl>

<p class="definition">在文件 <a class="el" href="../../d7/d5f/misc_8cpp_source.html">misc.cpp</a> 第 <a class="el" href="../../d7/d5f/misc_8cpp_source.html#l00077">77</a> 行定义.</p>

</div>
</div>
<a id="a77ed2ba91e96195fbef6259d46111f23" name="a77ed2ba91e96195fbef6259d46111f23"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a77ed2ba91e96195fbef6259d46111f23">&#9670;&#160;</a></span>logln_base()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void logln_base </td>
          <td>(</td>
          <td class="paramtype">bool</td>          <td class="paramname"><span class="paramname"><em>enable</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::ostream &amp;</td>          <td class="paramname"><span class="paramname"><em>os</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>str</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>按照行输出信息，也就是完成输出消息后再自动添加一个换行 </p>

<p class="definition">在文件 <a class="el" href="../../d7/d5f/misc_8cpp_source.html">misc.cpp</a> 第 <a class="el" href="../../d7/d5f/misc_8cpp_source.html#l00084">84</a> 行定义.</p>

</div>
</div>
<a id="a94febd15cfa38c4e0f3e8b90aaec5dc3" name="a94febd15cfa38c4e0f3e8b90aaec5dc3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a94febd15cfa38c4e0f3e8b90aaec5dc3">&#9670;&#160;</a></span>nowStr()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string nowStr </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>当前时间的字符串 </p>

<p class="definition">在文件 <a class="el" href="../../d7/d5f/misc_8cpp_source.html">misc.cpp</a> 第 <a class="el" href="../../d7/d5f/misc_8cpp_source.html#l00392">392</a> 行定义.</p>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="../../d7/d5f/misc_8cpp_a94febd15cfa38c4e0f3e8b90aaec5dc3_icgraph.png" border="0" usemap="#ad7/d5f/misc_8cpp_a94febd15cfa38c4e0f3e8b90aaec5dc3_icgraph" alt=""/></div>
<map name="ad7/d5f/misc_8cpp_a94febd15cfa38c4e0f3e8b90aaec5dc3_icgraph" id="ad7/d5f/misc_8cpp_a94febd15cfa38c4e0f3e8b90aaec5dc3_icgraph">
<area shape="rect" title="当前时间的字符串" alt="" coords="227,208,289,235"/>
<area shape="rect" href="../../dd/d8c/class_c_conf_file.html#a3a92acce185607ecbba25373ab3bee16" title="删除数据。" alt="" coords="38,5,146,32"/>
<area shape="poly" title=" " alt="" coords="249,193,241,159,226,120,206,80,177,46,162,36,146,29,148,24,165,31,180,42,210,77,231,117,246,158,254,192"/>
<area shape="rect" href="../../d5/d99/classwheels_1_1backtrace.html#a92d30dc9b2ebd59de3cb4f46f996bdd5" title="dump" alt="" coords="8,56,176,83"/>
<area shape="poly" title=" " alt="" coords="244,195,218,144,200,119,177,97,157,86,160,81,180,93,204,115,223,141,249,192"/>
<area shape="rect" href="../../dd/d8c/class_c_conf_file.html#a4f6fe1bcfc479dbcdd8e5c7e78244935" title=" " alt="" coords="21,107,163,133"/>
<area shape="poly" title=" " alt="" coords="234,198,209,171,177,148,153,136,155,131,180,143,212,167,238,194"/>
<area shape="rect" href="../../dd/d8c/class_c_conf_file.html#ab67deb245a981b191fea9d358869b5c8" title=" " alt="" coords="21,157,163,184"/>
<area shape="poly" title=" " alt="" coords="211,209,178,199,140,187,142,182,179,193,213,204"/>
<area shape="rect" href="../../dd/d8c/class_c_conf_file.html#a35e01118ce2c6af9543a63870c74edd8" title=" " alt="" coords="21,208,163,235"/>
<area shape="poly" title=" " alt="" coords="211,224,163,224,163,219,211,219"/>
<area shape="rect" href="../../dd/d8c/class_c_conf_file.html#a812b8d051a6389593caf96c59c9e1618" title=" " alt="" coords="33,259,151,285"/>
<area shape="poly" title=" " alt="" coords="213,239,179,249,142,261,140,255,178,244,211,233"/>
<area shape="rect" href="../../dd/d8c/class_c_conf_file.html#aa2fd27d86cbf777473c6e8c3f09d9bf0" title="设置数据" alt="" coords="22,309,162,336"/>
<area shape="poly" title=" " alt="" coords="238,249,212,275,180,300,155,311,153,306,177,295,209,271,234,245"/>
<area shape="rect" href="../../dd/d8c/class_c_conf_file.html#aa7f1148517de34769b19dfd9461ff393" title=" " alt="" coords="22,360,162,387"/>
<area shape="poly" title=" " alt="" coords="249,250,223,301,204,328,180,350,160,362,157,357,177,346,200,324,218,298,244,248"/>
<area shape="rect" href="../../df/d42/classss_status_bar.html#ac405576ec6f94574fc90add9f889e9ba" title=" " alt="" coords="5,411,179,437"/>
<area shape="poly" title=" " alt="" coords="254,251,246,285,231,325,210,366,180,401,163,412,160,408,177,397,206,363,226,323,241,283,249,249"/>
</map>
</div>

</div>
</div>
<a id="a032ca694fce284d2917919e388905a7d" name="a032ca694fce284d2917919e388905a7d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a032ca694fce284d2917919e388905a7d">&#9670;&#160;</a></span>parseGMT()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">time_t parseGMT </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>gmt</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int</td>          <td class="paramname"><span class="paramname"><em>loc</em></span><span class="paramdefsep"> = </span><span class="paramdefval">8</span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>解析GMT时间字符串 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">gmt[</td><td>I ],GMT字符串 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回转换结果 </dd></dl>

<p class="definition">在文件 <a class="el" href="../../d7/d5f/misc_8cpp_source.html">misc.cpp</a> 第 <a class="el" href="../../d7/d5f/misc_8cpp_source.html#l00457">457</a> 行定义.</p>
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="../../d7/d5f/misc_8cpp_a032ca694fce284d2917919e388905a7d_cgraph.png" border="0" usemap="#ad7/d5f/misc_8cpp_a032ca694fce284d2917919e388905a7d_cgraph" alt=""/></div>
<map name="ad7/d5f/misc_8cpp_a032ca694fce284d2917919e388905a7d_cgraph" id="ad7/d5f/misc_8cpp_a032ca694fce284d2917919e388905a7d_cgraph">
<area shape="rect" title="解析GMT时间字符串" alt="" coords="5,5,88,32"/>
<area shape="rect" href="../../d7/d5f/misc_8cpp.html#ac7d1e0a91bfa612dce72b060d9e15119" title=" " alt="" coords="136,5,192,32"/>
<area shape="poly" title=" " alt="" coords="88,16,120,16,120,21,88,21"/>
</map>
</div>

</div>
</div>
<a id="a60fd19bc6b440bebc49e3a72cec3de0c" name="a60fd19bc6b440bebc49e3a72cec3de0c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a60fd19bc6b440bebc49e3a72cec3de0c">&#9670;&#160;</a></span>reverseByte()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool reverseByte </td>
          <td>(</td>
          <td class="paramtype">void *</td>          <td class="paramname"><span class="paramname"><em>data</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t</td>          <td class="paramname"><span class="paramname"><em>len</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>将数据按照字节方式改变大小端。长度必须是偶数的，否则返回错误 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">data[</td><td>I ] </td></tr>
    <tr><td class="paramname">len[</td><td>I ] </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>成功操作返回true；否则返回false </dd></dl>

<p class="definition">在文件 <a class="el" href="../../d7/d5f/misc_8cpp_source.html">misc.cpp</a> 第 <a class="el" href="../../d7/d5f/misc_8cpp_source.html#l00416">416</a> 行定义.</p>

</div>
</div>
<a id="a23cfcaab6b6df224338877527e1f49dc" name="a23cfcaab6b6df224338877527e1f49dc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a23cfcaab6b6df224338877527e1f49dc">&#9670;&#160;</a></span>split()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int split </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>str</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char</td>          <td class="paramname"><span class="paramname"><em>c</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::vector&lt; std::string &gt; &amp;</td>          <td class="paramname"><span class="paramname"><em>rst</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>将字符串按照指定的标记分割成多个字符串 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">str[</td><td>I ]， 要切割的字符串 </td></tr>
    <tr><td class="paramname">c[</td><td>I ]， 分割标记 </td></tr>
    <tr><td class="paramname">rst[</td><td>O ]， 分割结果 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>成功返回字符串数量，否则返回-1 </dd></dl>

<p class="definition">在文件 <a class="el" href="../../d7/d5f/misc_8cpp_source.html">misc.cpp</a> 第 <a class="el" href="../../d7/d5f/misc_8cpp_source.html#l00730">730</a> 行定义.</p>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="../../d7/d5f/misc_8cpp_a23cfcaab6b6df224338877527e1f49dc_icgraph.png" border="0" usemap="#ad7/d5f/misc_8cpp_a23cfcaab6b6df224338877527e1f49dc_icgraph" alt=""/></div>
<map name="ad7/d5f/misc_8cpp_a23cfcaab6b6df224338877527e1f49dc_icgraph" id="ad7/d5f/misc_8cpp_a23cfcaab6b6df224338877527e1f49dc_icgraph">
<area shape="rect" title="将字符串按照指定的标记分割成多个字符串" alt="" coords="185,47,230,73"/>
<area shape="rect" href="../../d1/de6/classwheels_1_1private_____1_1path.html#a7c0fd329389a0267cec0cb6978843a4b" title=" " alt="" coords="5,5,137,48"/>
<area shape="poly" title=" " alt="" coords="169,54,136,45,138,40,170,48"/>
<area shape="rect" href="../../d1/de6/classwheels_1_1private_____1_1path.html#af2f2d77160c62a00d2eff2a629c0f472" title=" " alt="" coords="5,72,137,115"/>
<area shape="poly" title=" " alt="" coords="170,72,138,80,136,75,169,66"/>
</map>
</div>

</div>
</div>
<h2 class="groupheader">变量说明</h2>
<a id="ab6905b37bd6eb03720774f729032272e" name="ab6905b37bd6eb03720774f729032272e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab6905b37bd6eb03720774f729032272e">&#9670;&#160;</a></span>G_LOG_BUF</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char G_LOG_BUF[1024 *10]</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../d7/d5f/misc_8cpp_source.html">misc.cpp</a> 第 <a class="el" href="../../d7/d5f/misc_8cpp_source.html#l00046">46</a> 行定义.</p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.11.0
</small></address>
</div><!-- doc-content -->
</body>
</html>
